*this is a do file for regressions for the February 2016 survey on casualties of war*
logit support t1 t2 t3 t4 t5 t6 t7 closemilitaryties female married employment democrat nonwhite
logit support t1 t2 t3 t4 t5 t6 t7 female married employment democrat nonwhite if closemilitaryties==1
logit support t1 t2 t3 t4 t5 t6 t7 army female married employment democrat nonwhite if closemilitaryties==1
logit support t1 t2 t3 t4 t5 t6 t7 army knowkilled knowwounded female married employment democrat nonwhite if closemilitaryties==1

*clarify, using model 1*
logit support t1 t2 t3 t4 t5 t6 t7 closemilitaryties female married employment democrat nonwhite
estsimp logit support t1 t2 t3 t4 t5 t6 t7 closemilitaryties female married employment democrat nonwhite

*next, for marital status*
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 0 female 1 married 0 employment 0 democrat 0 nonwhite 0
simqi, pr
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 0 female 1 married 1 employment 0 democrat 0 nonwhite 0
simqi, pr
*next, for close military ties *
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 0 female 1 married 1 employment 0 democrat 0 nonwhite 0
simqi, pr
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 1 female 1 married 1 employment 1 democrat 0 nonwhite 0
simqi, pr
*next, for democrats*
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 0 female 1 married 1 employment 0 democrat 0 nonwhite 0
simqi, pr
setx t1 0 t2 0 t3 0 t4 0 t5 0 t6 0 t7 0 closemilitaryties 0 female 1 married 1 employment 0 democrat 1 nonwhite 0
simqi, pr
